<div class="dynamic-tabs" style='width:100%;height: 100%;'>
    <h2>&nbsp;&nbsp;</h2>
    <p-table [columns]="cols" [value]="wfItemInst" [scrollable]="true" scrollHeight="450px">
        <ng-template pTemplate="header" let-columns>
            <tr>
                <th *ngFor="let col of columns" [ngStyle]="col.style">
                    {{col.header}}
                </th>
            </tr>
        </ng-template>
        <ng-template pTemplate="body" let-rowData let-columns="columns">
            <tr>
                <td *ngFor="let col of columns" [ngStyle]="col.style">
                    {{rowData[col.field]}}
                </td>
            </tr>
        </ng-template>
    </p-table>
</div>